package com.canxi.earn.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.canxi.common.annotation.ExcelDictFormat;
import com.canxi.common.convert.ExcelDictConvert;
import com.canxi.system.domain.vo.SysOssVo;
import lombok.Data;
import com.canxi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 功能列视图对象 cx_funs
 *
 * @author ruoyi
 * @date 2024-09-04
 */
@Data
@ExcelIgnoreUnannotated
public class CxFunsVo  extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String id;

    /**
     * 图标Id
     */
    @ExcelProperty(value = "图标Id")
    private String iconOssId;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 0=资讯赚，1=笑话赚，2=走路赚，3=幸运抽奖，4=吃饭赚，5=睡觉赚，6=拼图赚，7=语音赚，8=视频赚，9=每日必赚
     */
    @ExcelProperty(value = "0=资讯赚，1=笑话赚，2=走路赚，3=幸运抽奖，4=吃饭赚，5=睡觉赚，6=拼图赚，7=语音赚，8=视频赚，9=每日必赚")
    private String toType;

    /**
     * 跳转路径，可与toType配合使用
     */
    private String toPath;

    /**
     * 可获取的金额
     */
    @ExcelProperty(value = "可获取的金额")
    private BigDecimal amount;

    /**
     * 0,高额，1，休闲，2，娱乐
     */
    @ExcelProperty(value = "0,高额，1，休闲，2，娱乐", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "cx_funs_type")
    private String type;

    /**
     * 0=不显示，1=显示
     */
    @ExcelProperty(value = "0=不显示，1=显示", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "cx_funs_status")
    private String status;

    private long sort;

    private SysOssVo ossVo;


}
